package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.util.Date;

public class RunfastSmsSendrecord implements Serializable {
    private Integer id;

    private String ipaddr;

    private String mession;

    private String msg;

    private String phone;

    private Date sendtime;

    private Integer smstype;

    private String xcode;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastSmsSendrecord withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIpaddr() {
        return ipaddr;
    }

    public RunfastSmsSendrecord withIpaddr(String ipaddr) {
        this.setIpaddr(ipaddr);
        return this;
    }

    public void setIpaddr(String ipaddr) {
        this.ipaddr = ipaddr == null ? null : ipaddr.trim();
    }

    public String getMession() {
        return mession;
    }

    public RunfastSmsSendrecord withMession(String mession) {
        this.setMession(mession);
        return this;
    }

    public void setMession(String mession) {
        this.mession = mession == null ? null : mession.trim();
    }

    public String getMsg() {
        return msg;
    }

    public RunfastSmsSendrecord withMsg(String msg) {
        this.setMsg(msg);
        return this;
    }

    public void setMsg(String msg) {
        this.msg = msg == null ? null : msg.trim();
    }

    public String getPhone() {
        return phone;
    }

    public RunfastSmsSendrecord withPhone(String phone) {
        this.setPhone(phone);
        return this;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Date getSendtime() {
        return sendtime;
    }

    public RunfastSmsSendrecord withSendtime(Date sendtime) {
        this.setSendtime(sendtime);
        return this;
    }

    public void setSendtime(Date sendtime) {
        this.sendtime = sendtime;
    }

    public Integer getSmstype() {
        return smstype;
    }

    public RunfastSmsSendrecord withSmstype(Integer smstype) {
        this.setSmstype(smstype);
        return this;
    }

    public void setSmstype(Integer smstype) {
        this.smstype = smstype;
    }

    public String getXcode() {
        return xcode;
    }

    public RunfastSmsSendrecord withXcode(String xcode) {
        this.setXcode(xcode);
        return this;
    }

    public void setXcode(String xcode) {
        this.xcode = xcode == null ? null : xcode.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", ipaddr=").append(ipaddr);
        sb.append(", mession=").append(mession);
        sb.append(", msg=").append(msg);
        sb.append(", phone=").append(phone);
        sb.append(", sendtime=").append(sendtime);
        sb.append(", smstype=").append(smstype);
        sb.append(", xcode=").append(xcode);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}